import request from '@/utils/request.js';

export const getCategoryAPI = () =>
  request.get('https://tea.qingnian8.com/api/bizhi/randomWall');

 export const getWallpaperInfoAPI = id =>
   request.get('https://tea.qingnian8.com/api/bizhi/detailWall', {
    params: {
      id
    }
   });
// 提交评分（此接口是实际上是假的 使用get）
export const submitRatingAPI = (data) => { 
  return request.get('https://tea.qingnian8.com/api/bizhi/setupScore', {
    params: data,
  });
}